home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / Documents / NeXTAnswers / os.351 < prev    next >
Text File  |  1992-02-06  |  2KB  |  77 lines

  1. {\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f1\fmodern Courier;}
  2. \paperw13040
  3. \paperh10200
  4. \margl120
  5. \margr120
  6. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b0\i0\ul0\fs24 export limits\
  7. \
  8. Q: Are there limits to the number of hosts to which a directory hierarchy can be exported, or granted root access?\
  9. \
  10. A: Yes. In release 
  11. \b 1.0
  12. \b0 , one can export a hierarchy explicitly to at most 
  13. \b ten
  14. \b0  different hosts.  Likewise, one can permit selective root access to at most 
  15. \b ten
  16. \b0  different hosts.  This limit has been increased in 
  17. \b 2.0
  18. \b0 , see the comments below. A line in 
  19. \f1 /etc/exports
  20. \f0  might look like\
  21. \
  22.  
  23. \f1     /    -ro,access=host1:host2:host3,root=host3\
  24.  
  25. \f0 \
  26. If there are more than ten hosts listed in the 
  27. \f1\b root=
  28. \f0\b0  clause, an error message will be printed.  If there are more than ten hosts in the 
  29. \f1\b access=
  30. \f0\b0  clause, though, it will fail silently.\
  31. \
  32. If the number changes in the future, the change will be reflected in the 
  33. \f1 EXMAXADDRS
  34. \f0  constant in 
  35. \f1 <nfs/export.h>
  36. \f0 .  
  37. \gray333 (N.B. the 
  38. \f1 EXMAXROOTADDRS
  39. \f0  constant is ignored in the code, currently; both 
  40. \f1 access=
  41. \f0  and 
  42. \f1 root=
  43. \f0  are governed by 
  44. \f1 EXMAXADDRS
  45. \f0 .)\
  46. \
  47.  
  48. \gray0 In 
  49. \b 2.0
  50. \b0  
  51. \f1 EXMAXADDRS
  52. \f0  and 
  53. \f1 EXMAXROOTADDRS
  54. \f0  have been increased to 1024. You can thus explicitly export to up to 1024 different hosts in 
  55. \b 2.0
  56. \b0 .\
  57. \
  58. The available workaround for this limitation is to provide global access, or more restricted access (i.e., access to ten or fewer hosts).  To provide global access, one could use\
  59. \
  60.  
  61. \f1     /    -ro,root=host3\
  62.  
  63. \f0 \
  64. One can also use a netgroup in place of, or in addition to, hostnames.  From my experimentation, the real limitation is ten entries in the clause, regardless of whether those entries are netgroups, hostnames, or some combination. Entries in the 
  65. \f1 root=
  66. \f0  clause 
  67. \b must
  68. \b0  be hostnames, not netgroups.\
  69. \
  70. \
  71. QA351\
  72. \
  73. Valid for 1.0 \
  74. Valid for 2.0\
  75. \
  76.  
  77.